package com.nanhai.buddhist.college.module.study.convert.attendancemanagementlog;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagementlog.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.attendancemanagementlog.AttendanceManagementLogDO;

/**
 * 请假审核记录 Convert
 *
 * @author AKai
 */
@Mapper
public interface AttendanceManagementLogConvert {

    AttendanceManagementLogConvert INSTANCE = Mappers.getMapper(AttendanceManagementLogConvert.class);

    AttendanceManagementLogDO convert(AttendanceManagementLogCreateReqVO bean);

    AttendanceManagementLogDO convert(AttendanceManagementLogUpdateReqVO bean);

    AttendanceManagementLogRespVO convert(AttendanceManagementLogDO bean);

    List<AttendanceManagementLogRespVO> convertList(List<AttendanceManagementLogDO> list);

    PageResult<AttendanceManagementLogRespVO> convertPage(PageResult<AttendanceManagementLogDO> page);

    List<AttendanceManagementLogExcelVO> convertList02(List<AttendanceManagementLogDO> list);

    PageResult<AttendanceManagementLogRespVO> convertManagementLogResVOPage(PageResult<ManagementLogResVO> page);
}
